﻿<%@ page language="java" pageEncoding="UTF-8" %>
<!--_meta 作为公共模版分离出去-->
<%@ include file="/commons/global.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="Bookmark" href="favicon.ico" >
	<link rel="Shortcut Icon" href="favicon.ico" />
	<!--[if lt IE 9]>
	<script type="text/javascript" src="<%=request.getContextPath()%>/static/lib/html5.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/static/lib/respond.min.js"></script>
	<![endif]-->
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/static/h-ui/css/H-ui.min.css" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/static/h-ui.admin/css/H-ui.admin.css" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/static/lib/Hui-iconfont/1.0.8/iconfont.css" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/static/h-ui.admin/skin/default/skin.css" id="skin" />
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/static/h-ui.admin/css/style.css" />
	<!--[if IE 6]>
	<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
	<script>DD_belatedPNG.fix('*');</script>
	<![endif]-->
	<!--/meta 作为公共模版分离出去-->

	<title>人才培养方案</title>
	<style>
		#iframe_box{
			top: 0px !important;
		}
	</style>
</head>
<body>
	<!--_header 作为公共模版分离出去-->
	<header class="navbar-wrapper">
		<div class="navbar navbar-fixed-top">
			<div class="container-fluid cl"> <a class="logo navbar-logo f-l mr-10 hidden-xs" href="javascript:void(0);">人才培养方案</a>
				<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
					<ul class="cl">
						<li>
							<c:if test="${currentUser.type == 0}">超级管理员</c:if>
							<c:if test="${currentUser.type == 1}">院系管理员</c:if>
							<c:if test="${currentUser.type == 2}">专业管理员</c:if>
						</li>
						<li class="dropDown dropDown_hover"> <a href="javascript:void(0);"  class="dropDown_A">${currentUser.name} <i class="Hui-iconfont">&#xe6d5;</i></a>
							<ul class="dropDown-menu menu radius box-shadow">
								<li><a href="javascript:;" data-href="<%=request.getContextPath()%>/manage/user/userInfo/${currentUser.id}" class="back_link">个人信息</a></li>
								<%--<li><a href="#">切换账户</a></li>--%>
								<li><a href="javascript:void(0);" id="logout">退出</a></li>
							</ul>
						</li>
						<%--<li id="Hui-msg"> <a href="#" title="消息"><span class="badge badge-danger">1</span><i class="Hui-iconfont" style="font-size:18px">&#xe68a;</i></a> </li>--%>
						<li id="Hui-skin" class="dropDown right dropDown_hover"> <a href="javascript:;" class="dropDown_A" title="换肤"><i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i></a>
							<ul class="dropDown-menu menu radius box-shadow">
								<li><a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a></li>
								<li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a></li>
								<li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
								<li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
								<li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
								<li><a href="javascript:;" data-val="orange" title="橙色">橙色</a></li>
							</ul>
						</li>
					</ul>
				</nav>
			</div>
		</div>
	</header>
	<!--/_header 作为公共模版分离出去-->

	<!--_menu 作为公共模版分离出去-->
	<aside class="Hui-aside">

		<div class="menu_dropdown bk_2">
			<dl id="menu-home">
				<dt><i class="Hui-iconfont">&#xe625;</i> 首页管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
				<dd>
					<ul>
						<li><a href="javascript:void(0);" title="我的桌面" data-href="<%=request.getContextPath()%>/manage/main/welcome" class="back_link">我的桌面</a></li>
					</ul>
				</dd>
			</dl>
			<dl id="menu-base">
				<dt><i class="Hui-iconfont">&#xe62e;</i> 系统管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
				<dd>
					<ul>
						<c:if test="${currentUser.type == 0 }">
							<li><a href="javascript:void(0);" title="院系管理" data-href="<%=request.getContextPath()%>/manage/depart/manager" class="back_link">院系管理</a></li>
						</c:if>
						<li><a href="javascript:void(0);" title="专业管理" data-href="<%=request.getContextPath()%>/manage/major/manager" class="back_link">专业管理</a></li>
						<li><a href="javascript:void(0);" title="课程管理" data-href="<%=request.getContextPath()%>/manage/course/manager" class="back_link">课程管理</a></li>
						<li><a href="javascript:void(0);" title="开放状态" data-href="<%=request.getContextPath()%>/openStatus/manager" class="back_link">开放状态</a></li>
						<li><a href="javascript:void(0);" title="公告管理" data-href="<%=request.getContextPath()%>/manage/notice/manager" class="back_link">公告管理</a></li>
					</ul>
				</dd>
			</dl>
			<dl id="menu-user">
				<dt><i class="Hui-iconfont">&#xe62d;</i> 用户管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
				<dd>
					<ul>
						<c:if test="${currentUser.type == 0 }">
							<li><a href="javascript:void(0);" data-href="<%=request.getContextPath()%>/manage/user/manager?type=0"  class="back_link" title="超级管理员">超级管理员</a></li>
						</c:if>
						<c:if test="${currentUser.type == 0 || currentUser.type == 1}">
							<li><a href="javascript:void(0);" data-href="<%=request.getContextPath()%>/manage/user/manager?type=1"  class="back_link" title="系部管理员">系部管理员</a></li>
						</c:if>
						<c:if test="${currentUser.type == 0 || currentUser.type == 2}">
							<li><a href="javascript:void(0);" data-href="<%=request.getContextPath()%>/manage/user/manager?type=2"  class="back_link" title="专业管理员">专业管理员</a></li>
						</c:if>
					</ul>
				</dd>
			</dl>
			<dl id="menu-plan">
				<dt><i class="Hui-iconfont">&#xe616;</i> 方案管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
				<dd>
					<ul>
						<li><a href="javascript:void(0);" title="培养方案管理" data-href="<%=request.getContextPath()%>/trainPlan/manager" class="back_link">培养方案管理</a></li>
					</ul>
				</dd>
			</dl>
			<dl id="menu-plan">
				<dt><i class="Hui-iconfont">&#xe616;</i> 教学管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
				<dd>
					<ul>
						<li><a href="javascript:void(0);" title="所有教学管理" data-href="<%=request.getContextPath()%>/schedule/manager" class="back_link">所有教学管理</a></li>
					</ul>
				</dd>
			</dl>
		</div>
	</aside>
	<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>
	<!--/_menu 作为公共模版分离出去-->

	<section class="Hui-article-box">
		<div id="iframe_box" class="Hui-article">
			<div class="show_iframe">
				<div style="display:none" class="loading"></div>
				<iframe scrolling="yes" frameborder="0" id="mainFrame" src="<%=request.getContextPath()%>/manage/main/welcome"></iframe>
			</div>
		</div>
	</section>

	<!--_footer 作为公共模版分离出去-->
	<script type="text/javascript" src="<%=request.getContextPath()%>/static/lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/static/lib/layer/2.4/layer.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/static/h-ui/js/H-ui.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/static/h-ui.admin/js/H-ui.admin.page.js"></script>
	<!--/_footer /作为公共模版分离出去-->

	<!--请在下方写此页面业务相关的脚本-->
	<script type="text/javascript">

        $(".back_link").click(function(){
            var link = $(this).attr("data-href");
            $("#mainFrame").attr("src",link);
        });

        $("#logout").click(function () {
            $.ajax({
                url:'<%=request.getContextPath()%>/login/logout',
                type:'post',
                dataType:'json',
                success:function(data){
                    location.href = '<%=request.getContextPath()%>/login/loginUI';
                }
            });
        });
	</script>
	<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>